package com.spc.car.data.mapper.project;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spc.car.data.entity.project.ProjectRolePermission;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 项目角色权限关联表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-04-27
 */
public interface ProjectRolePermissionMapper extends BaseMapper<ProjectRolePermission> {

    List<String> listPermission(@NotNull @Param("roleId") Integer roleId);
}
